package com.only4play.practice.invoice.core.envents;

import com.only4play.practice.invoice.core.domainservice.model.exchange.ExchangeInvoiceModel;
import com.only4play.practice.invoice.core.domainservice.model.exchange.InvoiceModel;
import com.only4play.practice.invoice.core.entity.Invoice;
import lombok.Value;

public interface InvoiceEvents {

  @Value
  class InvoiceCreateEvent {

    Invoice invoice;
    ExchangeInvoiceModel exchangeInvoiceModel;
    InvoiceModel invoiceModel;

  }

}
